Dalí: A Periodically Persistent Hash Map

نویسندگان

  • Faisal Nawab
  • Joseph Izraelevitz
  • Terence Kelly
  • Charles B. Morrey
  • Dhruva R. Chakrabarti
  • Michael L. Scott
چکیده

Technology trends suggest that byte-addressable nonvolatile memory (NVM) will supplant many uses of DRAM over the coming decade, raising the prospect of inexpensive recovery from power failures and similar faults. Ensuring the consistency of persistent state remains nontrivial, however, in the presence of volatile caches; cached values can “leak” back to persistent memory in arbitrary order. To ensure consistency, existing persistent memory algorithms use expensive, explicit write-back instructions to force each value back to memory before performing a dependent write, thereby incurring significant run-time overhead. To reduce this overhead, we present a new design paradigm that we call periodic persistence. In a periodically persistent data structure, updates are made “in place,” but can safely leak back to memory in any order, because only those updates that are known to be valid will be heeded during recovery. To guarantee forward progress, we periodically force a write-back of all dirty data in the cache, ensuring that all “sufficiently old” updates have indeed become persistent, at which point they become semantically visible to the recovery process. As an example of periodic persistence, we present a transactional hash map, Dalí, together with an informal proof of safety (buffered durable linearizability). Experiments with a prototype implementation suggest that periodic persistence can offer substantially better performance than either file-based or incrementally persistent (per-access write-back) alternatives. 1998 ACM Subject Classification D.3.3 Concurrent Programming Structures

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Dalı́: A Periodically Persistent Hash Map

In current real-world processors, instructions to control the ordering, timing, and granularity of writes-back from caches to NVM main memory are rather limited. Even in the best of circumstances, however, “persisting” an individual store (e.g., using CLFLUSH) and ordering it with respect to other stores (e.g., using MFENCE) is likely to take at least tens of cycles. Additionally, due to power ...

متن کامل

The Dali multimedia software library

This paper presents a new approach for constructing libraries for building processing-intensive multimedia software. Such software is currently constructed either "from scratch" or by using high-level libraries. We have found that the second approach produces inefficient code, while the first approach is time-consuming. We therefore designed and implemented Dalí, a set of reusable, high-perform...

متن کامل

An Improved Hash Function Based on the Tillich-Zémor Hash Function

Using the idea behind the Tillich-Zémor hash function, we propose a new hash function. Our hash function is parallelizable and its collision resistance is implied by a hardness assumption on a mathematical problem. Also, it is secure against the known attacks. It is the most secure variant of the Tillich-Zémor hash function until now.

متن کامل

DSaaS - A Cloud Service for Persistent Data Structures

In an attempt to tackle shortcomings of current approaches to collaborating on the development of structured data sets, we present a prototype platform that allows users to share and collaborate on the development of data structures via a web application, or by using language bindings or an API. Using techniques from the theory of persistent linked data structures, the resulting platform delive...

متن کامل

NoVoHT: a Lightweight Dynamic Persistent NoSQL Key/Value Store

With the increased scale of systems in use and the need to quickly store and retrieve information, key/value stores are becoming an important element in the design of large-scale storage systems. Key/value stores are well known for their simplistic interfaces, persistent nature, and excellent operational efficiency – they are also known as NoSQL databases. This paper presents the design and imp...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017